#include <bits/stdc++.h>
#define int long long
using namespace std;

const int N = 1e5 + 10;

int n, a[N];
bool vis1[N], vis2[N];

signed main()
{
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);
    cin >> n;
    for(int i = 1; i <= n; i++){
        cin >> a[i];
    }
    memset(vis1, true, sizeof vis1);
    memset(vis2, true, sizeof vis2);
    sort(a + 1, a + n + 1);
    for(int i = 1; i < n; i++){
        for(int j = i + 1; j <= n; j++){
            if(a[j] - a[i] > 0 && vis2[j] == true){
                vis1[i] = false;
                vis2[j] = false;
                break;
            }
        }
    }
    int ans = 0;
    for(int i = 1; i <= n; i++){
        if(vis1[i] == true){
            ans++;
        }
    }
    cout << ans << endl;
    return 0;
}
